<div class="row" >
    <div class="col-lg-4">
        <form role="form" name="edit_barang" action="<?php echo site_url("jualbeli/edit_barang");?>" method="post" enctype="multipart/form-data" >
            <div class="form-group">
                <label>ID Barang</label>
                <input type="hidden" name="idbarang" value="<?php echo $data->ID_Barang;?>">
                <input class="form-control" id="disabledInput" type="text" disabled name="idbarang" value="<?php echo $data->ID_Barang;?>">
            </div>
            <div class="form-group">
                <label>Judul</label> <input class="form-control" name="judul" value="<?php echo $data->Judul;?>"/>
            </div>
            <div class="form-group">
                <label>Deskripsi</label>
                <textarea class="form-control" rows="3" name="deskripsi"><?php echo $data->Deskripsi;?></textarea>
            </div>
            <div class="form-group">
                <label>Harga</label> <input class="form-control" name="harga" value="<?php echo $data->Harga;?>"/>
            </div>
            <div class="form-group">
                <label>Upload Gambar</label>
                <input type="file" name="gambar1">
            </div>
            <div class="form-group">
            <button type="submit" class="btn btn-primary">Ubah Data</button>
            </div>
        </form>    
    </div>
</div>